import Callback from './Callback'

export default {
  name: 'UpdateUserCallback',
  mixins: [Callback],
  methods: {
    action() {
      this.$store.commit('SET_NAME', this.options.name)
      this.$store.commit('SET_AVATAR', this.options.avatar)
    },
  },
}
